<?php
/**
 * spsNewsletter newsletterS view
 * 
 * @author Satyan Shah <joomlaDesign@modernbridge.com>
 * @link http://www.modernbridge.com
 * @license GNU/GPL
 */

// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die();

jimport( 'joomla.application.component.view' );

/**
 * Hellos View
 *
 * @package    Joomla.Tutorials
 * @subpackage Components
 */
class spsNewslettersViewnewsletters extends JView
{
	/**
	 * spsNewsletters display function
	 * @return void
	 **/
	function display($tpl = null)
	{
  
		JToolBarHelper::title(   JText::_( 'spsNewsletter Manager - Newsletters' ), 'generic.png' );
		JToolBarHelper::deleteList();
		JToolBarHelper::editListX();
		JToolBarHelper::addNewX();
  		// Get data from the model
		$items		= & $this->get( 'Data');

		$this->assignRef('items',		$items);

		parent::display($tpl);
	}
}
